package com.dzl.goods.dao;

import com.dzl.base.mapper.BaseMapper;
import com.dzl.goods.pojo.WelfareGoodsCategoryRel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 集采商品品类表(WelfareGoodsCategoryRel)表数据库访问层
 * @author liuguanjun
 * @date 2021-12-16 11:45:07
 */
@Repository
public interface WelfareGoodsCategoryRelMapper extends BaseMapper<WelfareGoodsCategoryRel> {

    /**
     * 根据商品id获取关联品类
     * @param goodsId 商品id
     * @author liuguanjun
     * @date 2021-12-17 10:05:03
     **/
    List<WelfareGoodsCategoryRel> selectGoodsCategoryRelByGoodsId(@Param("goodsId") Integer goodsId);

}